package com.sc.nft.admin.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class UpdateIsListing {

    @ApiModelProperty(value = "id")
    @NotNull(message = "id不能为空")
    private Long id;

    @ApiModelProperty(value = "是否上架")
    @NotNull(message = "是否上架不能为空")
    private Boolean isListing;
}
